package com.ruoyi.production.mapper.regulator;


import com.ruoyi.production.domain.regulator.RegulatorPurchaseApply;

import java.util.List;


/**
 * 调节剂购买申请Mapper接口
 *
 * @author testlove
 * @date 2021-07-11
 */
public interface RegulatorPurchaseApplyMapper
{
    /**
     * 查询调节剂购买申请
     *
     * @param regulatorPurchaseApplyId 调节剂购买申请ID
     * @return 调节剂购买申请
     */
    public RegulatorPurchaseApply selectRegulatorPurchaseApplyById(Long regulatorPurchaseApplyId);

    /**
     * 查询调节剂购买申请列表
     *
     * @param regulatorPurchaseApply 调节剂购买申请
     * @return 调节剂购买申请集合
     */
    public List<RegulatorPurchaseApply> selectRegulatorPurchaseApplyList(RegulatorPurchaseApply regulatorPurchaseApply);

    /**
     * 新增调节剂购买申请
     *
     * @param regulatorPurchaseApply 调节剂购买申请
     * @return 结果
     */
    public int insertRegulatorPurchaseApply(RegulatorPurchaseApply regulatorPurchaseApply);

    /**
     * 修改调节剂购买申请
     *
     * @param regulatorPurchaseApply 调节剂购买申请
     * @return 结果
     */
    public int updateRegulatorPurchaseApply(RegulatorPurchaseApply regulatorPurchaseApply);

    /**
     * 删除调节剂购买申请
     *
     * @param regulatorPurchaseApplyId 调节剂购买申请ID
     * @return 结果
     */
    public int deleteRegulatorPurchaseApplyById(Long regulatorPurchaseApplyId);

    /**
     * 批量删除调节剂购买申请
     *
     * @param regulatorPurchaseApplyIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteRegulatorPurchaseApplyByIds(Long[] regulatorPurchaseApplyIds);
}
